package com.afs.electronicforensics.entity;

import java.io.Serializable;

public class User implements Serializable {

    private String uid;//用户id
    private String username;//用户昵称
    private String password;//用户密码
    private String phone;//绑定手机号码
    private String userAvatar;//用户头像


    public String getUid() {
        return uid;
    }
    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }


    public void destroy() {
        this.uid = null;
        this.username = null;
        this.password = null;
        this.phone = null;
        this.userAvatar = null;
    }
}
